package com.elder.business.service.impl;

import java.util.List;

import com.elder.business.domain.ApartmentFloorBedAssociations;
import com.elder.business.mapper.ApartmentFloorBedAssociationsMapper;
import com.elder.business.service.IApartmentFloorBedAssociationsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author elder
 * @date 2023-11-26
 */
@Service
public class ApartmentFloorBedAssociationsServiceImpl implements IApartmentFloorBedAssociationsService
{
    @Autowired
    private ApartmentFloorBedAssociationsMapper apartmentFloorBedAssociationsMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ApartmentFloorBedAssociations selectApartmentFloorBedAssociationsById(Long id)
    {
        return apartmentFloorBedAssociationsMapper.selectApartmentFloorBedAssociationsById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param apartmentFloorBedAssociations 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ApartmentFloorBedAssociations> selectApartmentFloorBedAssociationsList(ApartmentFloorBedAssociations apartmentFloorBedAssociations)
    {
        return apartmentFloorBedAssociationsMapper.selectApartmentFloorBedAssociationsList(apartmentFloorBedAssociations);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param apartmentFloorBedAssociations 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertApartmentFloorBedAssociations(ApartmentFloorBedAssociations apartmentFloorBedAssociations)
    {
        return apartmentFloorBedAssociationsMapper.insertApartmentFloorBedAssociations(apartmentFloorBedAssociations);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param apartmentFloorBedAssociations 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateApartmentFloorBedAssociations(ApartmentFloorBedAssociations apartmentFloorBedAssociations)
    {
        return apartmentFloorBedAssociationsMapper.updateApartmentFloorBedAssociations(apartmentFloorBedAssociations);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteApartmentFloorBedAssociationsByIds(Long[] ids)
    {
        return apartmentFloorBedAssociationsMapper.deleteApartmentFloorBedAssociationsByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteApartmentFloorBedAssociationsById(Long id)
    {
        return apartmentFloorBedAssociationsMapper.deleteApartmentFloorBedAssociationsById(id);
    }
}
